﻿using System;

namespace Eneta.Portal.Common.Dto
{
    /// <summary>
    /// Base data-transfer object (DTO). Defines basic properties that all DTO-s have.
    /// </summary>
    public abstract class BaseDto
    {
        /// <summary>
        /// Gets or sets the unique identificator of item. This is ID of SPListItem.
        /// </summary>
        public virtual int Id { get; set; }

        /// <summary>
        /// Gets or sets the time when item is created.
        /// </summary>
        public virtual DateTime Created { get; set; }

        /// <summary>
        /// Gets or sets the time when item was last modified.
        /// </summary>
        public virtual DateTime Modified { get; set; }

        /// <summary>
        /// Gets or sets the title of item.
        /// </summary>
        public virtual string Title { get; set; }
    }
}
